package com.local.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "local_coupon_cash")
public class LocalCouponCash {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "coupon_id")
    private String couponId;

    @Column(name = "partner_name")
    private String partnerName;

    @Column(name = "car_no")
    private String carNo;

    @Column(name = "price")
    private Integer price;

    @Column(name = "coupon_type")
    private Integer couponType;

    @Column(name = "begin_valid")
    private String beginValid;

    @Column(name = "end_valid")
    private String endValid;

    @Column(name = "status")
    private String status;

    @Column(name = "arrtr1")
    private String arrtr1;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "use_time")
    private String useTime;
    
    private String parkId;

    public String getParkId()
	{
		return parkId;
	}

	public void setParkId(String parkId)
	{
		this.parkId = parkId;
	}

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId == null ? null : couponId.trim();
    }

    public String getPartnerName() {
        return partnerName;
    }

    public void setPartnerName(String partnerName) {
        this.partnerName = partnerName == null ? null : partnerName.trim();
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo == null ? null : carNo.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public String getBeginValid() {
        return beginValid;
    }

    public void setBeginValid(String beginValid) {
        this.beginValid = beginValid == null ? null : beginValid.trim();
    }

    public String getEndValid() {
        return endValid;
    }

    public void setEndValid(String endValid) {
        this.endValid = endValid == null ? null : endValid.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getArrtr1() {
        return arrtr1;
    }

    public void setArrtr1(String arrtr1) {
        this.arrtr1 = arrtr1 == null ? null : arrtr1.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime == null ? null : useTime.trim();
    }
}